get raw body

This block is part of the http connection group and was last modified in core v15.0.0.

get raw body v15.0.0

Returns the request body exactly as received on the wire, as a string : the bytes an HMAC signature covers. Use this (never a re-serialized object) when verifying signature headers like X-Mssgs-Signature.

In pins 1
  • connection required
    httpconnection
Out pins 1
  • raw body
    value

A typical wiring for get raw body: the value out pin feeds sha256.

Studio canvas example for the get raw body block: typical wiring for get raw body.

Commonly used with

In production blueprints, this block is most often wired together with:

  • sha256: this block feeds into it. HMAC-SHA256 of the value keyed with the secret, as lowercase hex — e.g. to verify a webhook's X-Mssgs-Signature: sha256=<hex> header against the raw request body.

Version history

Introduced in v15.0.0.


Back to http connection Return to the main group to view all sub-groups Back to http Return to the group to view all blocks within this group